// Copyright (c) 2007 Robin Boerdijk. All rights reserved.
//
// This software is licensed under the terms of the Microsoft Reciprocal License as described 
// in the file LICENSE.txt, which you should have received as part of this distribution. The 
// license terms are also available at http://www.opensource.org/licenses/ms-rl.html.

#ifndef wtk_FillerBox_h_included
#define wtk_FillerBox_h_included

#include "wtk/Box.h"

namespace wtk
{
	class FillerBox : public Box
	{
	public:

		FillerBox(const SIZE &minimumSize, long horizontalElasticity, long verticalElasticity);

		virtual SIZE GetMinimumSize();

		virtual long GetHorizontalElasticity();

		virtual long GetVerticalElasticity();

		virtual void Layout(const SIZE &size, const POINT &position = Zero<POINT>());

	private:

		SIZE m_minimumSize;

		long m_horizontalElasticity;

		long m_verticalElasticity;
	};
}

#endif